package org.example.model;

import org.example.entity.Customer;

public class Order {
    private Integer id;
    private String orderNo;//订单编号
    private Integer price;//价格
    private Shop shop;//关联的属性


    public Order(String orderNo, Integer price, Shop shop) {
        super();
        this.orderNo = orderNo;
        this.price = price;
        this.shop = shop;
    }
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getPrice() {
        return price;
    }
    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getOrderNo() {
        return orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public Order() {
    }
    public Shop getShop() {
        return shop;
    }
    public void setShop(Shop shop) {
        this.shop = shop;
    }

}
